package tw.stock;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.Toast;

public class PreferencePage extends Activity {

	static Context mycontext;
	//final Spinner spinner = null;
	private static final String[] dayOfWeek =
	 {"Sunday", "Monday", "Tuesday", "Wednesday", 
	  "Thursday", "Friday", "Saturday"};
	
	private ArrayAdapter<String> adapter;
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.preference);
        
        
        
	}
	
	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event)
	{
	if(keyCode == KeyEvent.KEYCODE_BACK)
	{
	FirstGroup.group.back();
	return true;
	}
	return super.onKeyDown(keyCode, event);
	}
}
